package sy.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

@Entity
@Table(name = "T_BUSITYPE", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
public class TorderBusiType {

	private String busitypeid;
	private String busicode;
	private String businame;
	private String description;
	
	@Id
	@Column(name = "BUSITYPEID", nullable = false, length = 36)
	public String getBusitypeid() {
		return busitypeid;
	}
	public void setBusitypeid(String busitypeid) {
		this.busitypeid = busitypeid;
	}
	
	@Column(name = "BUSICODE",length = 20)
	public String getBusicode() {
		return busicode;
	}
	public void setBusicode(String busicode) {
		this.busicode = busicode;
	}
	
	@Column(name = "BUSINAME",length = 20)
	public String getBusiname() {
		return businame;
	}
	public void setBusiname(String businame) {
		this.businame = businame;
	}
	
	@Column(name = "DESICRIPTION",length = 50)
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	
	
}
